package com.jdrx.sw.sewage.beans.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * sewage_gather_dev_storage
 */
@Data
@ApiModel(value = "DevStorageDTO", description = "资产入库")
public class DevStorageDTO {
    @ApiModelProperty(value = "id 修改需传")
    private Long id;

    @ApiModelProperty(value = "入库设备大类 修改需传")
    private Long storageTypeId;

    @ApiModelProperty(value = "是否为排序第一的设备 修改需传  0-否 1-是")
    private Integer orderByOne;

    @NotNull
    @ApiModelProperty(value = "物料类型id")
    private Long materielId;

    @ApiModelProperty(value = "设备品类id")
    private Long categoryId;

    @NotNull
    @ApiModelProperty(value = "设备品类名称")
    private String categoryName;

    @ApiModelProperty(value = "生产厂id")
    private Long factoryId;

    @NotNull
    @ApiModelProperty(value = "生产厂家名")
    private String factoryName;

    @ApiModelProperty(value = "采购时间")
    private Date purchaseTime;

    @ApiModelProperty(value = "维保周期-固定天数")
    private Integer maintenanceCycleDay;

    @ApiModelProperty(value = "维保周期-固定小时")
    private Integer maintenanceCycleHour;

    @ApiModelProperty(value = "设备规格")
    private String dossierSpec;

    @ApiModelProperty(value = "入库数量")
    private Integer storageNum;

    @ApiModelProperty(value = "电子手册")
    private String electronicManual;

    @ApiModelProperty(value = "设备照片")
    private String attach;

    @ApiModelProperty(value = "录入人")
    private String createBy;

    @ApiModelProperty(value = "入库时间")
    private Date createAt;

    @ApiModelProperty(value = "生产厂家ids")
    private String factoryIds;

    @ApiModelProperty(value = "设备SN号")
    private String snNum;

    @ApiModelProperty(value = "PLC逻辑点位(0 - 否 1 - 是) 不需要传")
    private Integer plcLogicPoint;
}